package com.uplift.mobile.realty.dao;

import com.uplift.mobile.realty.model.RealtyAdModel;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface RealtyAdMapper {
	public List<Map<String, Object>> selectRealtyAd(RealtyAdModel realtyAdModel);

	/**
	 * 新增广告信息
	 * @param realtyAdModel
	 * @return
	 */
	public int insertRealtyAd(RealtyAdModel realtyAdModel);

	/**
	 * 更新广告信息
	 * @param realtyAdModel
	 * @return
	 */
	public int updateRealtyAd(RealtyAdModel realtyAdModel);
}
